package cn.chenhongchao.zhaobiaopingtai.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class Tender implements Serializable {

    @TableField("tenderId")
    @TableId
    private Integer tenderid;

    @TableField("createTime")
    private Date createtime;

    @TableField("explainContent")
    private String explaincontent;

    @TableField("pdf")
    private String pdf;

    @TableField("state")
    private Integer state;

    @TableField("stateChina")
    private String statechina;

    @TableField("tenderName")
    private String tendername;

    @TableField("userId")
    private Integer userid;

    @TableField("endtime")
    private Date endtime;

    @TableField("updateTime")
    private Date updatetime;

    @TableField("category_id")
    private Long categoryId;

    public String getTenderType() {
        return tenderType;
    }

    public void setTenderType(String tenderType) {
        this.tenderType = tenderType;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @TableField("tenderType")
    private String tenderType;

    private static final long serialVersionUID = 1L;

    public Integer getTenderid() {
        return tenderid;
    }

    public void setTenderid(Integer tenderid) {
        this.tenderid = tenderid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getExplaincontent() {
        return explaincontent;
    }

    public void setExplaincontent(String explaincontent) {
        this.explaincontent = explaincontent == null ? null : explaincontent.trim();
    }

    public String getPdf() {
        return pdf;
    }

    public void setPdf(String pdf) {
        this.pdf = pdf == null ? null : pdf.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStatechina() {
        return statechina;
    }

    public void setStatechina(String statechina) {
        this.statechina = statechina == null ? null : statechina.trim();
    }

    public String getTendername() {
        return tendername;
    }

    public void setTendername(String tendername) {
        this.tendername = tendername == null ? null : tendername.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tenderid=").append(tenderid);
        sb.append(", createtime=").append(createtime);
        sb.append(", explaincontent=").append(explaincontent);
        sb.append(", pdf=").append(pdf);
        sb.append(", state=").append(state);
        sb.append(", statechina=").append(statechina);
        sb.append(", tendername=").append(tendername);
        sb.append(", userid=").append(userid);
        sb.append(", endtime=").append(endtime);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", categoryId=").append(categoryId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}